
from PyQt4.QtCore import *
from PyQt4.QtGui import *

from ops import OutputItem

class Print(OutputItem):
    name = "print"
    def __init__(self,x,y):
        OutputItem.__init__(self,x,y,["In"],[],"Print")
        self.setToolTip("Print the input")
        self.inputs[0].value = None
    def displayText(self):
        return "Print"
    def process(self):
        print "Operator says ",self.inputs[0].value
        pass
